import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from "../tianyiyuan/Login";
import Home from "../tianyiyuan/Home";
import adminLogin from "../tianyiyuan/adminLogin";
import SystemHome from "../tianyiyuan/SystemHome";
import indexShop from "../jiangzhipeng/indexShop";
import apply_for_commercial from "../lifukang/components/commercial/apply_for_commercial";
import apply_for_supplier from "../lifukang/components/supplier/apply_for_supplier";
import shopXq from "../jiangzhipeng/shopXq";
import gwCar from "../jiangzhipeng/gwCar";
import tjgwcar from "../jiangzhipeng/tjgwCar";
import UserMainView from "../liwentao/userindex/UserMainView";
import AddOrder from "../liwentao/orderview/AddOrder";
import SystemHome02 from "../tianyiyuan/SystemHome02";

Vue.use(VueRouter)

var routes = [
  {path: "/", component: indexShop},
  {path: "/home", component: Home},
  {path: "/adminlogin", component: adminLogin},
  {path: "/Systemhome", component: SystemHome},
  {path: "/Login", component: Login},
  {path: "/apply_for_commercial", component: apply_for_commercial},
  {path: "/apply_for_supplier", component: apply_for_supplier},
  {path: "/tjgwcar/:shopId", component: tjgwcar},
  {path: "/userMainView", component: UserMainView},
  {path: "/gwCar", component: gwCar},
  {path: "/shopXq",name:'shopXq', component: shopXq},
  {path: "/addOrder/:type", component: AddOrder},
  {path: "/SystemHome02", component: SystemHome02}

]
var router = new VueRouter({routes})
//返回router
export default router
